package br.com.timesystem.service;

import java.io.Serializable;

/**
 *
 * @author duduso
 */
public interface GenericService<T> extends Serializable {
    
    public Serializable salvar(T value);
    
    public void atualizar(T value);
    
    public void salvarOuAtualizar(T value);
    
    public void excluir(T value);
    
    public T obterPorId(Class clazz, Serializable id);    
    
}
